function selectAll(nbTotal,baseId,checkBoxReferent) {
	for(i=0;i<=nbTotal;i++) {
		document.getElementById(baseId+i).checked = document.getElementById(checkBoxReferent).checked;
	}
}